Xendomains was not correctly suspending domains when a STOP was issued.
authorIan Murray <murrayie@yahoo.co.uk>
Sat, 22 Jun 2013 12:38:11 +0000 (13:38 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 27 Jun 2013 10:55:43 +0000 (11:55 +0100)
commit543a2657182dbb9237d1feeb1d3193096ab2cb2d
tree72f413d01362dfbf797c77535496aa8a68cf7969
parent442ba0b2f6c16945ad496b31bf18a9e85d199d18
Xendomains was not correctly suspending domains when a STOP was issued.

The regex was not selecting the { when parsing JSON output of xl list -l.
It was also not selecting (domain when parsing xl list -l when SXP selected.

Pefixed { with 4 spaces, and removed an extra ( before domain in the regex
string

Added quotes around the grep strings so the spaces inserted into the string
didn't not break the grepping.

This has now been tested against 4.3RC5

Signed-off-by: Ian Murray <murrayie@yahoo.co.uk>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/hotplug/Linux/init.d/xendomains